package com.qijia.travel.vo;

import java.lang.reflect.Method;

import com.qijia.travel.helper.ObjectHelper;

public class GuideVO implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5411002293117059722L;
	private Integer guideId;
	private Integer treamId;
	private String treamName;
	
	private Integer searchCode;
	private String searchKeyword;
	
	private Integer dateCode;
	
	private String startDate;
	private String endDate;
	
	private Integer curPage;
	
	private String orderBy;
	private Integer aCode;
	private String belongTo;
	private Boolean Complete = Boolean.FALSE;
	
	
	public String getBelongTo() {
		return belongTo;
	}
	public void setBelongTo(String belongTo) {
		this.belongTo = belongTo;
	}
	public Boolean getComplete() {
		return Complete;
	}
	public void setComplete(Boolean Complete) {
		this.Complete = Complete;
	}
	public Integer getGuideId() {
		return guideId;
	}
	public void setGuideId(Integer guideId) {
		this.guideId = guideId;
	}
	public Integer getTreamId() {
		return treamId;
	}
	public void setTreamId(Integer treamId) {
		this.treamId = treamId;
	}
	public Integer getSearchCode() {
		return searchCode;
	}
	public void setSearchCode(Integer searchCode) {
		this.searchCode = searchCode;
	}
	public Integer getDateCode() {
		return dateCode;
	}
	public void setDateCode(Integer dateCode) {
		this.dateCode = dateCode;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public String getSearchKeyword() {
		return searchKeyword;
	}
	public void setSearchKeyword(String searchKeyword) {
		this.searchKeyword = searchKeyword;
	}
	
	public String toString() {
		Method[] ms = this.getClass().getDeclaredMethods();
		String s = "";
		for (Method m : ms) {
			if (m.getName().indexOf("get") != 0)
				continue;
			try {
				s += m.getName() + "-->"
						+ ObjectHelper.invokeMethod(this, m.getName()) + " \n ";
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
		return s;
	}
	public Integer getCurPage() {
		return curPage;
	}
	public void setCurPage(Integer curPage) {
		this.curPage = curPage;
	}
	public String getTreamName() {
		return treamName;
	}
	public void setTreamName(String treamName) {
		this.treamName = treamName;
	}
	public String getOrderBy() {
		return orderBy;
	}
	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}
	public Integer getACode() {
		return aCode;
	}
	public void setACode(Integer code) {
		aCode = code;
	}

}
